{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "e1fd057c-702c-4ef8-9f69-c129641b5cda",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>v_Class</th>\n",
       "      <th>v_Vel</th>\n",
       "      <th>v_Acc</th>\n",
       "      <th>Lane_ID</th>\n",
       "      <th>x_a</th>\n",
       "      <th>label1</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>609</td>\n",
       "      <td>51.763</td>\n",
       "      <td>1021.948700</td>\n",
       "      <td>3</td>\n",
       "      <td>36.193508</td>\n",
       "      <td>2.676641</td>\n",
       "      <td>5</td>\n",
       "      <td>0.14</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1</td>\n",
       "      <td>610</td>\n",
       "      <td>51.818</td>\n",
       "      <td>1025.581515</td>\n",
       "      <td>3</td>\n",
       "      <td>36.470313</td>\n",
       "      <td>2.720030</td>\n",
       "      <td>5</td>\n",
       "      <td>0.55</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1</td>\n",
       "      <td>611</td>\n",
       "      <td>51.891</td>\n",
       "      <td>1029.241983</td>\n",
       "      <td>3</td>\n",
       "      <td>36.752818</td>\n",
       "      <td>2.797069</td>\n",
       "      <td>5</td>\n",
       "      <td>0.73</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>1</td>\n",
       "      <td>612</td>\n",
       "      <td>51.900</td>\n",
       "      <td>1032.931222</td>\n",
       "      <td>3</td>\n",
       "      <td>37.041677</td>\n",
       "      <td>2.852058</td>\n",
       "      <td>5</td>\n",
       "      <td>0.09</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>1</td>\n",
       "      <td>613</td>\n",
       "      <td>51.907</td>\n",
       "      <td>1036.650109</td>\n",
       "      <td>3</td>\n",
       "      <td>37.332312</td>\n",
       "      <td>2.834137</td>\n",
       "      <td>5</td>\n",
       "      <td>0.07</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59715</th>\n",
       "      <td>1914</td>\n",
       "      <td>7000</td>\n",
       "      <td>13.153</td>\n",
       "      <td>366.480825</td>\n",
       "      <td>2</td>\n",
       "      <td>34.242836</td>\n",
       "      <td>-2.424565</td>\n",
       "      <td>2</td>\n",
       "      <td>-1.54</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59716</th>\n",
       "      <td>1914</td>\n",
       "      <td>7001</td>\n",
       "      <td>12.851</td>\n",
       "      <td>369.891951</td>\n",
       "      <td>2</td>\n",
       "      <td>34.012738</td>\n",
       "      <td>-2.247724</td>\n",
       "      <td>2</td>\n",
       "      <td>-3.02</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59717</th>\n",
       "      <td>1914</td>\n",
       "      <td>7002</td>\n",
       "      <td>12.519</td>\n",
       "      <td>373.280969</td>\n",
       "      <td>2</td>\n",
       "      <td>33.799112</td>\n",
       "      <td>-2.080567</td>\n",
       "      <td>2</td>\n",
       "      <td>-3.32</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59718</th>\n",
       "      <td>1914</td>\n",
       "      <td>7003</td>\n",
       "      <td>12.212</td>\n",
       "      <td>376.649614</td>\n",
       "      <td>2</td>\n",
       "      <td>33.600454</td>\n",
       "      <td>-1.942366</td>\n",
       "      <td>2</td>\n",
       "      <td>-3.07</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59719</th>\n",
       "      <td>1914</td>\n",
       "      <td>7004</td>\n",
       "      <td>11.904</td>\n",
       "      <td>379.999326</td>\n",
       "      <td>2</td>\n",
       "      <td>33.413677</td>\n",
       "      <td>-1.840038</td>\n",
       "      <td>2</td>\n",
       "      <td>-3.08</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>59720 rows × 10 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       Vehicle_ID  Frame_ID  Local_X      Local_Y  v_Class      v_Vel  \\\n",
       "0               1       609   51.763  1021.948700        3  36.193508   \n",
       "1               1       610   51.818  1025.581515        3  36.470313   \n",
       "2               1       611   51.891  1029.241983        3  36.752818   \n",
       "3               1       612   51.900  1032.931222        3  37.041677   \n",
       "4               1       613   51.907  1036.650109        3  37.332312   \n",
       "...           ...       ...      ...          ...      ...        ...   \n",
       "59715        1914      7000   13.153   366.480825        2  34.242836   \n",
       "59716        1914      7001   12.851   369.891951        2  34.012738   \n",
       "59717        1914      7002   12.519   373.280969        2  33.799112   \n",
       "59718        1914      7003   12.212   376.649614        2  33.600454   \n",
       "59719        1914      7004   11.904   379.999326        2  33.413677   \n",
       "\n",
       "          v_Acc  Lane_ID   x_a  label1  \n",
       "0      2.676641        5  0.14       0  \n",
       "1      2.720030        5  0.55       0  \n",
       "2      2.797069        5  0.73       0  \n",
       "3      2.852058        5  0.09       0  \n",
       "4      2.834137        5  0.07       0  \n",
       "...         ...      ...   ...     ...  \n",
       "59715 -2.424565        2 -1.54       1  \n",
       "59716 -2.247724        2 -3.02       1  \n",
       "59717 -2.080567        2 -3.32       1  \n",
       "59718 -1.942366        2 -3.07       1  \n",
       "59719 -1.840038        2 -3.08       1  \n",
       "\n",
       "[59720 rows x 10 columns]"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import numpy as np\n",
    "import pandas as pd\n",
    "import random\n",
    "f1=pd.read_csv(\"./data/Doubel_label.csv\")\n",
    "f2=pd.read_csv(\"./data/zhixing_new.csv\")\n",
    "f3=pd.read_csv(\"./data/biandao_new.csv\")\n",
    "f1=f1.rename(columns={'label':'label1'})\n",
    "f1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "id": "05e8d098-4f4d-46b3-ba19-f0bc45c9f8e2",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "1493.0"
      ]
     },
     "execution_count": 15,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(f1)/40"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "0ba5f19f-0bdd-4d10-9785-f6ed16378b3a",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "0f52afc5-12be-46a5-9abd-5cc511d62ba4",
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>v1</th>\n",
       "      <th>v2</th>\n",
       "      <th>v3</th>\n",
       "      <th>v4</th>\n",
       "      <th>y1</th>\n",
       "      <th>y2</th>\n",
       "      <th>y3</th>\n",
       "      <th>y4</th>\n",
       "      <th>label</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>7</td>\n",
       "      <td>390</td>\n",
       "      <td>-1.204894</td>\n",
       "      <td>1.214729</td>\n",
       "      <td>2.546125</td>\n",
       "      <td>-0.381224</td>\n",
       "      <td>52.204366</td>\n",
       "      <td>-29.314249</td>\n",
       "      <td>4.962133</td>\n",
       "      <td>-46.932928</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>8</td>\n",
       "      <td>712</td>\n",
       "      <td>-6.222594</td>\n",
       "      <td>2.591351</td>\n",
       "      <td>40.000000</td>\n",
       "      <td>-6.042190</td>\n",
       "      <td>129.675945</td>\n",
       "      <td>-74.710612</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>-15.132972</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>9</td>\n",
       "      <td>603</td>\n",
       "      <td>-3.046900</td>\n",
       "      <td>-0.913057</td>\n",
       "      <td>12.793603</td>\n",
       "      <td>9.084401</td>\n",
       "      <td>58.403292</td>\n",
       "      <td>-35.547727</td>\n",
       "      <td>4.928747</td>\n",
       "      <td>-41.107092</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>10</td>\n",
       "      <td>606</td>\n",
       "      <td>-2.703813</td>\n",
       "      <td>1.010864</td>\n",
       "      <td>-2.940991</td>\n",
       "      <td>-3.490874</td>\n",
       "      <td>51.200456</td>\n",
       "      <td>-61.880464</td>\n",
       "      <td>38.219486</td>\n",
       "      <td>-7.727801</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>12</td>\n",
       "      <td>526</td>\n",
       "      <td>6.951605</td>\n",
       "      <td>-2.600390</td>\n",
       "      <td>1.764605</td>\n",
       "      <td>0.235457</td>\n",
       "      <td>94.363570</td>\n",
       "      <td>-43.908059</td>\n",
       "      <td>78.262423</td>\n",
       "      <td>-21.370892</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   Vehicle_ID  Frame_ID        v1        v2         v3        v4          y1  \\\n",
       "0           7       390 -1.204894  1.214729   2.546125 -0.381224   52.204366   \n",
       "1           8       712 -6.222594  2.591351  40.000000 -6.042190  129.675945   \n",
       "2           9       603 -3.046900 -0.913057  12.793603  9.084401   58.403292   \n",
       "3          10       606 -2.703813  1.010864  -2.940991 -3.490874   51.200456   \n",
       "4          12       526  6.951605 -2.600390   1.764605  0.235457   94.363570   \n",
       "\n",
       "          y2          y3         y4  label  \n",
       "0 -29.314249    4.962133 -46.932928      0  \n",
       "1 -74.710612  100.000000 -15.132972      0  \n",
       "2 -35.547727    4.928747 -41.107092      0  \n",
       "3 -61.880464   38.219486  -7.727801      0  \n",
       "4 -43.908059   78.262423 -21.370892      0  "
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "f2.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "051be3dc-d79e-4537-b8a4-0b32ecf6936f",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "1064"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(f2)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "34c97a10-5729-4f55-a108-f0d91bf91f76",
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>v1</th>\n",
       "      <th>v2</th>\n",
       "      <th>v3</th>\n",
       "      <th>v4</th>\n",
       "      <th>y1</th>\n",
       "      <th>y2</th>\n",
       "      <th>y3</th>\n",
       "      <th>y4</th>\n",
       "      <th>label</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>6</td>\n",
       "      <td>537</td>\n",
       "      <td>3.049884</td>\n",
       "      <td>-6.238262</td>\n",
       "      <td>2.433994</td>\n",
       "      <td>1.412497</td>\n",
       "      <td>82.453637</td>\n",
       "      <td>-132.855239</td>\n",
       "      <td>33.862825</td>\n",
       "      <td>-37.690979</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>11</td>\n",
       "      <td>831</td>\n",
       "      <td>-2.572530</td>\n",
       "      <td>0.663911</td>\n",
       "      <td>-0.142314</td>\n",
       "      <td>-1.089454</td>\n",
       "      <td>69.647848</td>\n",
       "      <td>-98.744137</td>\n",
       "      <td>7.309895</td>\n",
       "      <td>-52.445799</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>20</td>\n",
       "      <td>860</td>\n",
       "      <td>-2.772111</td>\n",
       "      <td>2.666615</td>\n",
       "      <td>3.356769</td>\n",
       "      <td>2.345647</td>\n",
       "      <td>90.294894</td>\n",
       "      <td>-114.492452</td>\n",
       "      <td>61.253822</td>\n",
       "      <td>-64.832066</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>31</td>\n",
       "      <td>913</td>\n",
       "      <td>2.492437</td>\n",
       "      <td>3.692491</td>\n",
       "      <td>-3.103517</td>\n",
       "      <td>-2.480579</td>\n",
       "      <td>128.283210</td>\n",
       "      <td>-163.070634</td>\n",
       "      <td>56.702649</td>\n",
       "      <td>-65.619315</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>37</td>\n",
       "      <td>755</td>\n",
       "      <td>4.514447</td>\n",
       "      <td>4.379989</td>\n",
       "      <td>3.756350</td>\n",
       "      <td>0.713769</td>\n",
       "      <td>36.589801</td>\n",
       "      <td>-86.775870</td>\n",
       "      <td>12.518127</td>\n",
       "      <td>-59.800195</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   Vehicle_ID  Frame_ID        v1        v2        v3        v4          y1  \\\n",
       "0           6       537  3.049884 -6.238262  2.433994  1.412497   82.453637   \n",
       "1          11       831 -2.572530  0.663911 -0.142314 -1.089454   69.647848   \n",
       "2          20       860 -2.772111  2.666615  3.356769  2.345647   90.294894   \n",
       "3          31       913  2.492437  3.692491 -3.103517 -2.480579  128.283210   \n",
       "4          37       755  4.514447  4.379989  3.756350  0.713769   36.589801   \n",
       "\n",
       "           y2         y3         y4  label  \n",
       "0 -132.855239  33.862825 -37.690979      1  \n",
       "1  -98.744137   7.309895 -52.445799      1  \n",
       "2 -114.492452  61.253822 -64.832066      1  \n",
       "3 -163.070634  56.702649 -65.619315      1  \n",
       "4  -86.775870  12.518127 -59.800195      1  "
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "f3.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "id": "5a1351d3-3840-4d11-b9f8-810441f85131",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "310"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(f3)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "id": "c915535c-85c8-4d2a-83da-c8afb6296d0d",
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>v1</th>\n",
       "      <th>v2</th>\n",
       "      <th>v3</th>\n",
       "      <th>v4</th>\n",
       "      <th>y1</th>\n",
       "      <th>y2</th>\n",
       "      <th>y3</th>\n",
       "      <th>y4</th>\n",
       "      <th>label</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>7</td>\n",
       "      <td>390</td>\n",
       "      <td>-1.204894</td>\n",
       "      <td>1.214729</td>\n",
       "      <td>2.546125</td>\n",
       "      <td>-0.381224</td>\n",
       "      <td>52.204366</td>\n",
       "      <td>-29.314249</td>\n",
       "      <td>4.962133</td>\n",
       "      <td>-46.932928</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>8</td>\n",
       "      <td>712</td>\n",
       "      <td>-6.222594</td>\n",
       "      <td>2.591351</td>\n",
       "      <td>40.000000</td>\n",
       "      <td>-6.042190</td>\n",
       "      <td>129.675945</td>\n",
       "      <td>-74.710612</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>-15.132972</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>9</td>\n",
       "      <td>603</td>\n",
       "      <td>-3.046900</td>\n",
       "      <td>-0.913057</td>\n",
       "      <td>12.793603</td>\n",
       "      <td>9.084401</td>\n",
       "      <td>58.403292</td>\n",
       "      <td>-35.547727</td>\n",
       "      <td>4.928747</td>\n",
       "      <td>-41.107092</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>10</td>\n",
       "      <td>606</td>\n",
       "      <td>-2.703813</td>\n",
       "      <td>1.010864</td>\n",
       "      <td>-2.940991</td>\n",
       "      <td>-3.490874</td>\n",
       "      <td>51.200456</td>\n",
       "      <td>-61.880464</td>\n",
       "      <td>38.219486</td>\n",
       "      <td>-7.727801</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>12</td>\n",
       "      <td>526</td>\n",
       "      <td>6.951605</td>\n",
       "      <td>-2.600390</td>\n",
       "      <td>1.764605</td>\n",
       "      <td>0.235457</td>\n",
       "      <td>94.363570</td>\n",
       "      <td>-43.908059</td>\n",
       "      <td>78.262423</td>\n",
       "      <td>-21.370892</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>305</th>\n",
       "      <td>1835</td>\n",
       "      <td>6771</td>\n",
       "      <td>-0.141157</td>\n",
       "      <td>2.937802</td>\n",
       "      <td>10.581300</td>\n",
       "      <td>-3.028604</td>\n",
       "      <td>47.705808</td>\n",
       "      <td>-44.468639</td>\n",
       "      <td>29.385289</td>\n",
       "      <td>-68.252273</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>306</th>\n",
       "      <td>1835</td>\n",
       "      <td>7529</td>\n",
       "      <td>-1.304213</td>\n",
       "      <td>2.533916</td>\n",
       "      <td>-0.363827</td>\n",
       "      <td>-9.040093</td>\n",
       "      <td>50.963354</td>\n",
       "      <td>-107.633526</td>\n",
       "      <td>88.830597</td>\n",
       "      <td>-19.405130</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>307</th>\n",
       "      <td>1863</td>\n",
       "      <td>7281</td>\n",
       "      <td>2.742239</td>\n",
       "      <td>1.786957</td>\n",
       "      <td>0.588612</td>\n",
       "      <td>-8.676235</td>\n",
       "      <td>49.958205</td>\n",
       "      <td>-53.707676</td>\n",
       "      <td>14.572077</td>\n",
       "      <td>-47.845612</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>308</th>\n",
       "      <td>1873</td>\n",
       "      <td>7677</td>\n",
       "      <td>0.521533</td>\n",
       "      <td>1.851270</td>\n",
       "      <td>-6.076586</td>\n",
       "      <td>-4.341687</td>\n",
       "      <td>48.967164</td>\n",
       "      <td>-104.069010</td>\n",
       "      <td>119.195434</td>\n",
       "      <td>-42.338726</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>309</th>\n",
       "      <td>1906</td>\n",
       "      <td>7817</td>\n",
       "      <td>-0.906107</td>\n",
       "      <td>-4.244304</td>\n",
       "      <td>4.789405</td>\n",
       "      <td>5.195836</td>\n",
       "      <td>112.373801</td>\n",
       "      <td>-65.430100</td>\n",
       "      <td>167.704541</td>\n",
       "      <td>-1.962629</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1374 rows × 11 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "     Vehicle_ID  Frame_ID        v1        v2         v3        v4  \\\n",
       "0             7       390 -1.204894  1.214729   2.546125 -0.381224   \n",
       "1             8       712 -6.222594  2.591351  40.000000 -6.042190   \n",
       "2             9       603 -3.046900 -0.913057  12.793603  9.084401   \n",
       "3            10       606 -2.703813  1.010864  -2.940991 -3.490874   \n",
       "4            12       526  6.951605 -2.600390   1.764605  0.235457   \n",
       "..          ...       ...       ...       ...        ...       ...   \n",
       "305        1835      6771 -0.141157  2.937802  10.581300 -3.028604   \n",
       "306        1835      7529 -1.304213  2.533916  -0.363827 -9.040093   \n",
       "307        1863      7281  2.742239  1.786957   0.588612 -8.676235   \n",
       "308        1873      7677  0.521533  1.851270  -6.076586 -4.341687   \n",
       "309        1906      7817 -0.906107 -4.244304   4.789405  5.195836   \n",
       "\n",
       "             y1          y2          y3         y4  label  \n",
       "0     52.204366  -29.314249    4.962133 -46.932928      0  \n",
       "1    129.675945  -74.710612  100.000000 -15.132972      0  \n",
       "2     58.403292  -35.547727    4.928747 -41.107092      0  \n",
       "3     51.200456  -61.880464   38.219486  -7.727801      0  \n",
       "4     94.363570  -43.908059   78.262423 -21.370892      0  \n",
       "..          ...         ...         ...        ...    ...  \n",
       "305   47.705808  -44.468639   29.385289 -68.252273      1  \n",
       "306   50.963354 -107.633526   88.830597 -19.405130      1  \n",
       "307   49.958205  -53.707676   14.572077 -47.845612      1  \n",
       "308   48.967164 -104.069010  119.195434 -42.338726      1  \n",
       "309  112.373801  -65.430100  167.704541  -1.962629      1  \n",
       "\n",
       "[1374 rows x 11 columns]"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd2=pd.concat([f2,f3])\n",
    "pd2.to_csv('./v1-y4_new.csv',index=0)\n",
    "pd2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "id": "b5c231e7-64b2-4138-bca2-acfb31c9f2f2",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>v_Class</th>\n",
       "      <th>v_Vel</th>\n",
       "      <th>v_Acc</th>\n",
       "      <th>Lane_ID</th>\n",
       "      <th>x_a</th>\n",
       "      <th>label1</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>200</th>\n",
       "      <td>7</td>\n",
       "      <td>844</td>\n",
       "      <td>30.378</td>\n",
       "      <td>1965.901702</td>\n",
       "      <td>2</td>\n",
       "      <td>53.616609</td>\n",
       "      <td>-0.824333</td>\n",
       "      <td>3</td>\n",
       "      <td>-1.85</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>201</th>\n",
       "      <td>7</td>\n",
       "      <td>845</td>\n",
       "      <td>30.213</td>\n",
       "      <td>1971.259527</td>\n",
       "      <td>2</td>\n",
       "      <td>53.533817</td>\n",
       "      <td>-0.852947</td>\n",
       "      <td>3</td>\n",
       "      <td>-1.65</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>202</th>\n",
       "      <td>7</td>\n",
       "      <td>846</td>\n",
       "      <td>30.028</td>\n",
       "      <td>1976.609140</td>\n",
       "      <td>2</td>\n",
       "      <td>53.445762</td>\n",
       "      <td>-0.917811</td>\n",
       "      <td>3</td>\n",
       "      <td>-1.85</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>203</th>\n",
       "      <td>7</td>\n",
       "      <td>847</td>\n",
       "      <td>29.844</td>\n",
       "      <td>1981.950047</td>\n",
       "      <td>2</td>\n",
       "      <td>53.347770</td>\n",
       "      <td>-1.048901</td>\n",
       "      <td>3</td>\n",
       "      <td>-1.84</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>204</th>\n",
       "      <td>7</td>\n",
       "      <td>848</td>\n",
       "      <td>29.708</td>\n",
       "      <td>1987.280885</td>\n",
       "      <td>2</td>\n",
       "      <td>53.233887</td>\n",
       "      <td>-1.237646</td>\n",
       "      <td>3</td>\n",
       "      <td>-1.36</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>205</th>\n",
       "      <td>7</td>\n",
       "      <td>849</td>\n",
       "      <td>29.693</td>\n",
       "      <td>1992.599540</td>\n",
       "      <td>2</td>\n",
       "      <td>53.100311</td>\n",
       "      <td>-1.447887</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.15</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>206</th>\n",
       "      <td>7</td>\n",
       "      <td>850</td>\n",
       "      <td>29.707</td>\n",
       "      <td>1997.903622</td>\n",
       "      <td>2</td>\n",
       "      <td>52.947385</td>\n",
       "      <td>-1.631231</td>\n",
       "      <td>3</td>\n",
       "      <td>0.14</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>207</th>\n",
       "      <td>7</td>\n",
       "      <td>851</td>\n",
       "      <td>29.692</td>\n",
       "      <td>2003.191166</td>\n",
       "      <td>2</td>\n",
       "      <td>52.778740</td>\n",
       "      <td>-1.763423</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.15</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>208</th>\n",
       "      <td>7</td>\n",
       "      <td>852</td>\n",
       "      <td>29.526</td>\n",
       "      <td>2008.460658</td>\n",
       "      <td>2</td>\n",
       "      <td>52.600458</td>\n",
       "      <td>-1.821395</td>\n",
       "      <td>3</td>\n",
       "      <td>-1.66</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209</th>\n",
       "      <td>7</td>\n",
       "      <td>853</td>\n",
       "      <td>29.360</td>\n",
       "      <td>2013.711645</td>\n",
       "      <td>2</td>\n",
       "      <td>52.419208</td>\n",
       "      <td>-1.820337</td>\n",
       "      <td>3</td>\n",
       "      <td>-1.66</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>210</th>\n",
       "      <td>7</td>\n",
       "      <td>854</td>\n",
       "      <td>29.415</td>\n",
       "      <td>2018.944587</td>\n",
       "      <td>2</td>\n",
       "      <td>52.236100</td>\n",
       "      <td>-1.835769</td>\n",
       "      <td>3</td>\n",
       "      <td>0.55</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>211</th>\n",
       "      <td>7</td>\n",
       "      <td>855</td>\n",
       "      <td>29.717</td>\n",
       "      <td>2024.159480</td>\n",
       "      <td>2</td>\n",
       "      <td>52.047828</td>\n",
       "      <td>-1.912892</td>\n",
       "      <td>3</td>\n",
       "      <td>3.02</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>212</th>\n",
       "      <td>7</td>\n",
       "      <td>856</td>\n",
       "      <td>29.911</td>\n",
       "      <td>2029.355520</td>\n",
       "      <td>2</td>\n",
       "      <td>51.850417</td>\n",
       "      <td>-2.038053</td>\n",
       "      <td>3</td>\n",
       "      <td>1.94</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>213</th>\n",
       "      <td>7</td>\n",
       "      <td>857</td>\n",
       "      <td>30.067</td>\n",
       "      <td>2034.570703</td>\n",
       "      <td>2</td>\n",
       "      <td>51.654401</td>\n",
       "      <td>-2.188286</td>\n",
       "      <td>3</td>\n",
       "      <td>1.56</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>214</th>\n",
       "      <td>7</td>\n",
       "      <td>858</td>\n",
       "      <td>30.020</td>\n",
       "      <td>2039.769332</td>\n",
       "      <td>2</td>\n",
       "      <td>51.438304</td>\n",
       "      <td>-2.306406</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.47</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>215</th>\n",
       "      <td>7</td>\n",
       "      <td>859</td>\n",
       "      <td>29.929</td>\n",
       "      <td>2044.948535</td>\n",
       "      <td>2</td>\n",
       "      <td>51.206464</td>\n",
       "      <td>-2.376452</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.91</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>216</th>\n",
       "      <td>7</td>\n",
       "      <td>860</td>\n",
       "      <td>29.868</td>\n",
       "      <td>2050.106537</td>\n",
       "      <td>2</td>\n",
       "      <td>50.962991</td>\n",
       "      <td>-2.441099</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.61</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>217</th>\n",
       "      <td>7</td>\n",
       "      <td>861</td>\n",
       "      <td>29.808</td>\n",
       "      <td>2055.241184</td>\n",
       "      <td>2</td>\n",
       "      <td>50.707027</td>\n",
       "      <td>-2.497865</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.60</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>218</th>\n",
       "      <td>7</td>\n",
       "      <td>862</td>\n",
       "      <td>29.748</td>\n",
       "      <td>2060.350842</td>\n",
       "      <td>2</td>\n",
       "      <td>50.446557</td>\n",
       "      <td>-2.524062</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.60</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>219</th>\n",
       "      <td>7</td>\n",
       "      <td>863</td>\n",
       "      <td>29.703</td>\n",
       "      <td>2065.436188</td>\n",
       "      <td>2</td>\n",
       "      <td>50.180025</td>\n",
       "      <td>-2.627876</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.45</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>220</th>\n",
       "      <td>7</td>\n",
       "      <td>864</td>\n",
       "      <td>29.678</td>\n",
       "      <td>2070.494791</td>\n",
       "      <td>2</td>\n",
       "      <td>49.903965</td>\n",
       "      <td>-2.650046</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.25</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>221</th>\n",
       "      <td>7</td>\n",
       "      <td>865</td>\n",
       "      <td>29.592</td>\n",
       "      <td>2075.525844</td>\n",
       "      <td>2</td>\n",
       "      <td>49.632891</td>\n",
       "      <td>-2.546321</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.86</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>222</th>\n",
       "      <td>7</td>\n",
       "      <td>866</td>\n",
       "      <td>29.563</td>\n",
       "      <td>2080.531619</td>\n",
       "      <td>2</td>\n",
       "      <td>49.371759</td>\n",
       "      <td>-2.435194</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.29</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>223</th>\n",
       "      <td>7</td>\n",
       "      <td>867</td>\n",
       "      <td>29.679</td>\n",
       "      <td>2085.512263</td>\n",
       "      <td>2</td>\n",
       "      <td>49.107541</td>\n",
       "      <td>-2.380676</td>\n",
       "      <td>3</td>\n",
       "      <td>1.16</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>224</th>\n",
       "      <td>7</td>\n",
       "      <td>868</td>\n",
       "      <td>29.960</td>\n",
       "      <td>2090.463483</td>\n",
       "      <td>2</td>\n",
       "      <td>48.843962</td>\n",
       "      <td>-2.195056</td>\n",
       "      <td>3</td>\n",
       "      <td>2.81</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>225</th>\n",
       "      <td>7</td>\n",
       "      <td>869</td>\n",
       "      <td>30.281</td>\n",
       "      <td>2095.385355</td>\n",
       "      <td>2</td>\n",
       "      <td>48.606372</td>\n",
       "      <td>-1.870923</td>\n",
       "      <td>3</td>\n",
       "      <td>3.21</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>226</th>\n",
       "      <td>7</td>\n",
       "      <td>870</td>\n",
       "      <td>30.585</td>\n",
       "      <td>2100.283640</td>\n",
       "      <td>2</td>\n",
       "      <td>48.404148</td>\n",
       "      <td>-1.599931</td>\n",
       "      <td>3</td>\n",
       "      <td>3.04</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>227</th>\n",
       "      <td>7</td>\n",
       "      <td>871</td>\n",
       "      <td>30.935</td>\n",
       "      <td>2105.161101</td>\n",
       "      <td>2</td>\n",
       "      <td>48.207788</td>\n",
       "      <td>-1.527925</td>\n",
       "      <td>3</td>\n",
       "      <td>3.50</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>228</th>\n",
       "      <td>7</td>\n",
       "      <td>872</td>\n",
       "      <td>31.285</td>\n",
       "      <td>2110.012833</td>\n",
       "      <td>2</td>\n",
       "      <td>48.016896</td>\n",
       "      <td>-1.314728</td>\n",
       "      <td>3</td>\n",
       "      <td>3.50</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>229</th>\n",
       "      <td>7</td>\n",
       "      <td>873</td>\n",
       "      <td>31.634</td>\n",
       "      <td>2114.841892</td>\n",
       "      <td>2</td>\n",
       "      <td>47.846728</td>\n",
       "      <td>-1.216604</td>\n",
       "      <td>3</td>\n",
       "      <td>3.49</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>230</th>\n",
       "      <td>7</td>\n",
       "      <td>874</td>\n",
       "      <td>32.004</td>\n",
       "      <td>2119.648770</td>\n",
       "      <td>2</td>\n",
       "      <td>47.673172</td>\n",
       "      <td>-1.251799</td>\n",
       "      <td>3</td>\n",
       "      <td>3.70</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>231</th>\n",
       "      <td>7</td>\n",
       "      <td>875</td>\n",
       "      <td>32.356</td>\n",
       "      <td>2124.427032</td>\n",
       "      <td>2</td>\n",
       "      <td>47.494784</td>\n",
       "      <td>-1.097974</td>\n",
       "      <td>3</td>\n",
       "      <td>3.52</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>232</th>\n",
       "      <td>7</td>\n",
       "      <td>876</td>\n",
       "      <td>32.595</td>\n",
       "      <td>2129.178069</td>\n",
       "      <td>2</td>\n",
       "      <td>47.372514</td>\n",
       "      <td>-0.634085</td>\n",
       "      <td>3</td>\n",
       "      <td>2.39</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>233</th>\n",
       "      <td>7</td>\n",
       "      <td>877</td>\n",
       "      <td>32.705</td>\n",
       "      <td>2133.918398</td>\n",
       "      <td>2</td>\n",
       "      <td>47.310152</td>\n",
       "      <td>-0.457975</td>\n",
       "      <td>3</td>\n",
       "      <td>1.10</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>234</th>\n",
       "      <td>7</td>\n",
       "      <td>878</td>\n",
       "      <td>32.704</td>\n",
       "      <td>2138.654786</td>\n",
       "      <td>2</td>\n",
       "      <td>47.291958</td>\n",
       "      <td>-0.214168</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.01</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>235</th>\n",
       "      <td>7</td>\n",
       "      <td>879</td>\n",
       "      <td>32.683</td>\n",
       "      <td>2143.398622</td>\n",
       "      <td>2</td>\n",
       "      <td>47.270280</td>\n",
       "      <td>-0.561322</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.21</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>236</th>\n",
       "      <td>7</td>\n",
       "      <td>880</td>\n",
       "      <td>32.681</td>\n",
       "      <td>2148.136120</td>\n",
       "      <td>2</td>\n",
       "      <td>47.181403</td>\n",
       "      <td>-0.713254</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.02</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>237</th>\n",
       "      <td>7</td>\n",
       "      <td>881</td>\n",
       "      <td>32.678</td>\n",
       "      <td>2152.855834</td>\n",
       "      <td>2</td>\n",
       "      <td>47.082812</td>\n",
       "      <td>-0.521168</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.03</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>238</th>\n",
       "      <td>7</td>\n",
       "      <td>882</td>\n",
       "      <td>32.674</td>\n",
       "      <td>2157.560871</td>\n",
       "      <td>2</td>\n",
       "      <td>47.028244</td>\n",
       "      <td>-0.146537</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.04</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>239</th>\n",
       "      <td>7</td>\n",
       "      <td>883</td>\n",
       "      <td>32.670</td>\n",
       "      <td>2162.263431</td>\n",
       "      <td>2</td>\n",
       "      <td>47.013298</td>\n",
       "      <td>-0.087894</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.04</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "     Vehicle_ID  Frame_ID  Local_X      Local_Y  v_Class      v_Vel     v_Acc  \\\n",
       "200           7       844   30.378  1965.901702        2  53.616609 -0.824333   \n",
       "201           7       845   30.213  1971.259527        2  53.533817 -0.852947   \n",
       "202           7       846   30.028  1976.609140        2  53.445762 -0.917811   \n",
       "203           7       847   29.844  1981.950047        2  53.347770 -1.048901   \n",
       "204           7       848   29.708  1987.280885        2  53.233887 -1.237646   \n",
       "205           7       849   29.693  1992.599540        2  53.100311 -1.447887   \n",
       "206           7       850   29.707  1997.903622        2  52.947385 -1.631231   \n",
       "207           7       851   29.692  2003.191166        2  52.778740 -1.763423   \n",
       "208           7       852   29.526  2008.460658        2  52.600458 -1.821395   \n",
       "209           7       853   29.360  2013.711645        2  52.419208 -1.820337   \n",
       "210           7       854   29.415  2018.944587        2  52.236100 -1.835769   \n",
       "211           7       855   29.717  2024.159480        2  52.047828 -1.912892   \n",
       "212           7       856   29.911  2029.355520        2  51.850417 -2.038053   \n",
       "213           7       857   30.067  2034.570703        2  51.654401 -2.188286   \n",
       "214           7       858   30.020  2039.769332        2  51.438304 -2.306406   \n",
       "215           7       859   29.929  2044.948535        2  51.206464 -2.376452   \n",
       "216           7       860   29.868  2050.106537        2  50.962991 -2.441099   \n",
       "217           7       861   29.808  2055.241184        2  50.707027 -2.497865   \n",
       "218           7       862   29.748  2060.350842        2  50.446557 -2.524062   \n",
       "219           7       863   29.703  2065.436188        2  50.180025 -2.627876   \n",
       "220           7       864   29.678  2070.494791        2  49.903965 -2.650046   \n",
       "221           7       865   29.592  2075.525844        2  49.632891 -2.546321   \n",
       "222           7       866   29.563  2080.531619        2  49.371759 -2.435194   \n",
       "223           7       867   29.679  2085.512263        2  49.107541 -2.380676   \n",
       "224           7       868   29.960  2090.463483        2  48.843962 -2.195056   \n",
       "225           7       869   30.281  2095.385355        2  48.606372 -1.870923   \n",
       "226           7       870   30.585  2100.283640        2  48.404148 -1.599931   \n",
       "227           7       871   30.935  2105.161101        2  48.207788 -1.527925   \n",
       "228           7       872   31.285  2110.012833        2  48.016896 -1.314728   \n",
       "229           7       873   31.634  2114.841892        2  47.846728 -1.216604   \n",
       "230           7       874   32.004  2119.648770        2  47.673172 -1.251799   \n",
       "231           7       875   32.356  2124.427032        2  47.494784 -1.097974   \n",
       "232           7       876   32.595  2129.178069        2  47.372514 -0.634085   \n",
       "233           7       877   32.705  2133.918398        2  47.310152 -0.457975   \n",
       "234           7       878   32.704  2138.654786        2  47.291958 -0.214168   \n",
       "235           7       879   32.683  2143.398622        2  47.270280 -0.561322   \n",
       "236           7       880   32.681  2148.136120        2  47.181403 -0.713254   \n",
       "237           7       881   32.678  2152.855834        2  47.082812 -0.521168   \n",
       "238           7       882   32.674  2157.560871        2  47.028244 -0.146537   \n",
       "239           7       883   32.670  2162.263431        2  47.013298 -0.087894   \n",
       "\n",
       "     Lane_ID   x_a  label1  \n",
       "200        3 -1.85       0  \n",
       "201        3 -1.65       0  \n",
       "202        3 -1.85       0  \n",
       "203        3 -1.84       0  \n",
       "204        3 -1.36       0  \n",
       "205        3 -0.15       0  \n",
       "206        3  0.14       0  \n",
       "207        3 -0.15       0  \n",
       "208        3 -1.66       0  \n",
       "209        3 -1.66       0  \n",
       "210        3  0.55       0  \n",
       "211        3  3.02       0  \n",
       "212        3  1.94       0  \n",
       "213        3  1.56       0  \n",
       "214        3 -0.47       0  \n",
       "215        3 -0.91       0  \n",
       "216        3 -0.61       0  \n",
       "217        3 -0.60       0  \n",
       "218        3 -0.60       0  \n",
       "219        3 -0.45       0  \n",
       "220        3 -0.25       0  \n",
       "221        3 -0.86       0  \n",
       "222        3 -0.29       0  \n",
       "223        3  1.16       0  \n",
       "224        3  2.81       0  \n",
       "225        3  3.21       0  \n",
       "226        3  3.04       0  \n",
       "227        3  3.50       0  \n",
       "228        3  3.50       0  \n",
       "229        3  3.49       0  \n",
       "230        3  3.70       0  \n",
       "231        3  3.52       0  \n",
       "232        3  2.39       0  \n",
       "233        3  1.10       0  \n",
       "234        3 -0.01       0  \n",
       "235        3 -0.21       0  \n",
       "236        3 -0.02       0  \n",
       "237        3 -0.03       0  \n",
       "238        3 -0.04       0  \n",
       "239        3 -0.04       0  "
      ]
     },
     "execution_count": 20,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "f1[f1['Vehicle_ID']==7]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "id": "e682b569-c00f-4642-b5fb-1da9328475ce",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>v_Class</th>\n",
       "      <th>v_Vel</th>\n",
       "      <th>v_Acc</th>\n",
       "      <th>Lane_ID</th>\n",
       "      <th>x_a</th>\n",
       "      <th>label1</th>\n",
       "      <th>v1</th>\n",
       "      <th>v2</th>\n",
       "      <th>v3</th>\n",
       "      <th>v4</th>\n",
       "      <th>y1</th>\n",
       "      <th>y2</th>\n",
       "      <th>y3</th>\n",
       "      <th>y4</th>\n",
       "      <th>label</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>609</td>\n",
       "      <td>51.763</td>\n",
       "      <td>1021.948700</td>\n",
       "      <td>3</td>\n",
       "      <td>36.193508</td>\n",
       "      <td>2.676641</td>\n",
       "      <td>5</td>\n",
       "      <td>0.14</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1</td>\n",
       "      <td>610</td>\n",
       "      <td>51.818</td>\n",
       "      <td>1025.581515</td>\n",
       "      <td>3</td>\n",
       "      <td>36.470313</td>\n",
       "      <td>2.720030</td>\n",
       "      <td>5</td>\n",
       "      <td>0.55</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1</td>\n",
       "      <td>611</td>\n",
       "      <td>51.891</td>\n",
       "      <td>1029.241983</td>\n",
       "      <td>3</td>\n",
       "      <td>36.752818</td>\n",
       "      <td>2.797069</td>\n",
       "      <td>5</td>\n",
       "      <td>0.73</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>1</td>\n",
       "      <td>612</td>\n",
       "      <td>51.900</td>\n",
       "      <td>1032.931222</td>\n",
       "      <td>3</td>\n",
       "      <td>37.041677</td>\n",
       "      <td>2.852058</td>\n",
       "      <td>5</td>\n",
       "      <td>0.09</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>1</td>\n",
       "      <td>613</td>\n",
       "      <td>51.907</td>\n",
       "      <td>1036.650109</td>\n",
       "      <td>3</td>\n",
       "      <td>37.332312</td>\n",
       "      <td>2.834137</td>\n",
       "      <td>5</td>\n",
       "      <td>0.07</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59715</th>\n",
       "      <td>1914</td>\n",
       "      <td>7000</td>\n",
       "      <td>13.153</td>\n",
       "      <td>366.480825</td>\n",
       "      <td>2</td>\n",
       "      <td>34.242836</td>\n",
       "      <td>-2.424565</td>\n",
       "      <td>2</td>\n",
       "      <td>-1.54</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59716</th>\n",
       "      <td>1914</td>\n",
       "      <td>7001</td>\n",
       "      <td>12.851</td>\n",
       "      <td>369.891951</td>\n",
       "      <td>2</td>\n",
       "      <td>34.012738</td>\n",
       "      <td>-2.247724</td>\n",
       "      <td>2</td>\n",
       "      <td>-3.02</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59717</th>\n",
       "      <td>1914</td>\n",
       "      <td>7002</td>\n",
       "      <td>12.519</td>\n",
       "      <td>373.280969</td>\n",
       "      <td>2</td>\n",
       "      <td>33.799112</td>\n",
       "      <td>-2.080567</td>\n",
       "      <td>2</td>\n",
       "      <td>-3.32</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59718</th>\n",
       "      <td>1914</td>\n",
       "      <td>7003</td>\n",
       "      <td>12.212</td>\n",
       "      <td>376.649614</td>\n",
       "      <td>2</td>\n",
       "      <td>33.600454</td>\n",
       "      <td>-1.942366</td>\n",
       "      <td>2</td>\n",
       "      <td>-3.07</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59719</th>\n",
       "      <td>1914</td>\n",
       "      <td>7004</td>\n",
       "      <td>11.904</td>\n",
       "      <td>379.999326</td>\n",
       "      <td>2</td>\n",
       "      <td>33.413677</td>\n",
       "      <td>-1.840038</td>\n",
       "      <td>2</td>\n",
       "      <td>-3.08</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>59720 rows × 19 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       Vehicle_ID  Frame_ID  Local_X      Local_Y  v_Class      v_Vel  \\\n",
       "0               1       609   51.763  1021.948700        3  36.193508   \n",
       "1               1       610   51.818  1025.581515        3  36.470313   \n",
       "2               1       611   51.891  1029.241983        3  36.752818   \n",
       "3               1       612   51.900  1032.931222        3  37.041677   \n",
       "4               1       613   51.907  1036.650109        3  37.332312   \n",
       "...           ...       ...      ...          ...      ...        ...   \n",
       "59715        1914      7000   13.153   366.480825        2  34.242836   \n",
       "59716        1914      7001   12.851   369.891951        2  34.012738   \n",
       "59717        1914      7002   12.519   373.280969        2  33.799112   \n",
       "59718        1914      7003   12.212   376.649614        2  33.600454   \n",
       "59719        1914      7004   11.904   379.999326        2  33.413677   \n",
       "\n",
       "          v_Acc  Lane_ID   x_a  label1  v1  v2  v3  v4  y1  y2  y3  y4  label  \n",
       "0      2.676641        5  0.14       0 NaN NaN NaN NaN NaN NaN NaN NaN    NaN  \n",
       "1      2.720030        5  0.55       0 NaN NaN NaN NaN NaN NaN NaN NaN    NaN  \n",
       "2      2.797069        5  0.73       0 NaN NaN NaN NaN NaN NaN NaN NaN    NaN  \n",
       "3      2.852058        5  0.09       0 NaN NaN NaN NaN NaN NaN NaN NaN    NaN  \n",
       "4      2.834137        5  0.07       0 NaN NaN NaN NaN NaN NaN NaN NaN    NaN  \n",
       "...         ...      ...   ...     ...  ..  ..  ..  ..  ..  ..  ..  ..    ...  \n",
       "59715 -2.424565        2 -1.54       1 NaN NaN NaN NaN NaN NaN NaN NaN    NaN  \n",
       "59716 -2.247724        2 -3.02       1 NaN NaN NaN NaN NaN NaN NaN NaN    NaN  \n",
       "59717 -2.080567        2 -3.32       1 NaN NaN NaN NaN NaN NaN NaN NaN    NaN  \n",
       "59718 -1.942366        2 -3.07       1 NaN NaN NaN NaN NaN NaN NaN NaN    NaN  \n",
       "59719 -1.840038        2 -3.08       1 NaN NaN NaN NaN NaN NaN NaN NaN    NaN  \n",
       "\n",
       "[59720 rows x 19 columns]"
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd3=pd.merge(f1,pd2, how='left', on=['Frame_ID','Vehicle_ID'])\n",
    "pd3"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "id": "d43872ac-f84d-434c-aed7-01d5039873f8",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>v_Class</th>\n",
       "      <th>v_Vel</th>\n",
       "      <th>v_Acc</th>\n",
       "      <th>Lane_ID</th>\n",
       "      <th>x_a</th>\n",
       "      <th>label1</th>\n",
       "      <th>v1</th>\n",
       "      <th>v2</th>\n",
       "      <th>v3</th>\n",
       "      <th>v4</th>\n",
       "      <th>y1</th>\n",
       "      <th>y2</th>\n",
       "      <th>y3</th>\n",
       "      <th>y4</th>\n",
       "      <th>label</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1576</th>\n",
       "      <td>47</td>\n",
       "      <td>748</td>\n",
       "      <td>6.511</td>\n",
       "      <td>853.965710</td>\n",
       "      <td>2</td>\n",
       "      <td>24.003080</td>\n",
       "      <td>1.428727</td>\n",
       "      <td>1</td>\n",
       "      <td>-0.32</td>\n",
       "      <td>0</td>\n",
       "      <td>-2.173945</td>\n",
       "      <td>0.576705</td>\n",
       "      <td>13.369446</td>\n",
       "      <td>14.998503</td>\n",
       "      <td>49.544298</td>\n",
       "      <td>-63.016810</td>\n",
       "      <td>18.792899</td>\n",
       "      <td>-61.262077</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2116</th>\n",
       "      <td>65</td>\n",
       "      <td>979</td>\n",
       "      <td>5.692</td>\n",
       "      <td>1466.551532</td>\n",
       "      <td>2</td>\n",
       "      <td>49.493619</td>\n",
       "      <td>1.994377</td>\n",
       "      <td>1</td>\n",
       "      <td>0.48</td>\n",
       "      <td>0</td>\n",
       "      <td>0.393125</td>\n",
       "      <td>-0.457997</td>\n",
       "      <td>6.243165</td>\n",
       "      <td>1.725041</td>\n",
       "      <td>114.780807</td>\n",
       "      <td>-60.722463</td>\n",
       "      <td>51.589339</td>\n",
       "      <td>-68.997029</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3299</th>\n",
       "      <td>107</td>\n",
       "      <td>1081</td>\n",
       "      <td>40.128</td>\n",
       "      <td>1168.540673</td>\n",
       "      <td>2</td>\n",
       "      <td>41.284359</td>\n",
       "      <td>1.075719</td>\n",
       "      <td>4</td>\n",
       "      <td>0.81</td>\n",
       "      <td>0</td>\n",
       "      <td>-2.765149</td>\n",
       "      <td>-0.414985</td>\n",
       "      <td>11.385759</td>\n",
       "      <td>5.290739</td>\n",
       "      <td>123.141039</td>\n",
       "      <td>-56.211283</td>\n",
       "      <td>46.105448</td>\n",
       "      <td>-64.265924</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3515</th>\n",
       "      <td>113</td>\n",
       "      <td>885</td>\n",
       "      <td>53.465</td>\n",
       "      <td>374.507649</td>\n",
       "      <td>2</td>\n",
       "      <td>32.837023</td>\n",
       "      <td>-0.362300</td>\n",
       "      <td>5</td>\n",
       "      <td>-0.08</td>\n",
       "      <td>0</td>\n",
       "      <td>0.189292</td>\n",
       "      <td>1.682724</td>\n",
       "      <td>-3.204535</td>\n",
       "      <td>-3.034205</td>\n",
       "      <td>70.683355</td>\n",
       "      <td>-63.403671</td>\n",
       "      <td>57.854103</td>\n",
       "      <td>-13.017518</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3927</th>\n",
       "      <td>124</td>\n",
       "      <td>1013</td>\n",
       "      <td>30.310</td>\n",
       "      <td>681.008699</td>\n",
       "      <td>2</td>\n",
       "      <td>34.748391</td>\n",
       "      <td>1.212965</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.46</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.386196</td>\n",
       "      <td>2.570221</td>\n",
       "      <td>7.742709</td>\n",
       "      <td>0.243439</td>\n",
       "      <td>51.962273</td>\n",
       "      <td>-82.854703</td>\n",
       "      <td>8.132195</td>\n",
       "      <td>-62.827336</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59480</th>\n",
       "      <td>1775</td>\n",
       "      <td>7313</td>\n",
       "      <td>51.318</td>\n",
       "      <td>1731.074411</td>\n",
       "      <td>2</td>\n",
       "      <td>24.733008</td>\n",
       "      <td>2.087339</td>\n",
       "      <td>5</td>\n",
       "      <td>-0.21</td>\n",
       "      <td>1</td>\n",
       "      <td>-3.178748</td>\n",
       "      <td>8.212403</td>\n",
       "      <td>-0.792546</td>\n",
       "      <td>-13.991276</td>\n",
       "      <td>57.595742</td>\n",
       "      <td>-63.767370</td>\n",
       "      <td>64.319363</td>\n",
       "      <td>-15.780057</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59520</th>\n",
       "      <td>1810</td>\n",
       "      <td>7061</td>\n",
       "      <td>19.239</td>\n",
       "      <td>1062.063193</td>\n",
       "      <td>2</td>\n",
       "      <td>14.480825</td>\n",
       "      <td>2.059809</td>\n",
       "      <td>2</td>\n",
       "      <td>0.06</td>\n",
       "      <td>1</td>\n",
       "      <td>0.061475</td>\n",
       "      <td>2.590724</td>\n",
       "      <td>10.845075</td>\n",
       "      <td>5.405494</td>\n",
       "      <td>37.747591</td>\n",
       "      <td>-51.489161</td>\n",
       "      <td>0.991348</td>\n",
       "      <td>-73.106673</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59560</th>\n",
       "      <td>1822</td>\n",
       "      <td>6755</td>\n",
       "      <td>38.674</td>\n",
       "      <td>279.697006</td>\n",
       "      <td>2</td>\n",
       "      <td>21.264474</td>\n",
       "      <td>1.636776</td>\n",
       "      <td>4</td>\n",
       "      <td>0.04</td>\n",
       "      <td>1</td>\n",
       "      <td>-4.074251</td>\n",
       "      <td>-0.149365</td>\n",
       "      <td>6.563861</td>\n",
       "      <td>1.060056</td>\n",
       "      <td>39.146146</td>\n",
       "      <td>-71.713312</td>\n",
       "      <td>28.133231</td>\n",
       "      <td>-34.078000</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59600</th>\n",
       "      <td>1835</td>\n",
       "      <td>7529</td>\n",
       "      <td>19.213</td>\n",
       "      <td>1607.776272</td>\n",
       "      <td>2</td>\n",
       "      <td>30.800569</td>\n",
       "      <td>3.584741</td>\n",
       "      <td>2</td>\n",
       "      <td>0.61</td>\n",
       "      <td>1</td>\n",
       "      <td>-1.304213</td>\n",
       "      <td>2.533916</td>\n",
       "      <td>-0.363827</td>\n",
       "      <td>-9.040093</td>\n",
       "      <td>50.963354</td>\n",
       "      <td>-107.633526</td>\n",
       "      <td>88.830597</td>\n",
       "      <td>-19.405130</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59640</th>\n",
       "      <td>1873</td>\n",
       "      <td>7677</td>\n",
       "      <td>21.206</td>\n",
       "      <td>1938.794699</td>\n",
       "      <td>2</td>\n",
       "      <td>47.320361</td>\n",
       "      <td>-0.208143</td>\n",
       "      <td>2</td>\n",
       "      <td>1.20</td>\n",
       "      <td>1</td>\n",
       "      <td>0.521533</td>\n",
       "      <td>1.851270</td>\n",
       "      <td>-6.076586</td>\n",
       "      <td>-4.341687</td>\n",
       "      <td>48.967164</td>\n",
       "      <td>-104.069010</td>\n",
       "      <td>119.195434</td>\n",
       "      <td>-42.338726</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>376 rows × 19 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       Vehicle_ID  Frame_ID  Local_X      Local_Y  v_Class      v_Vel  \\\n",
       "1576           47       748    6.511   853.965710        2  24.003080   \n",
       "2116           65       979    5.692  1466.551532        2  49.493619   \n",
       "3299          107      1081   40.128  1168.540673        2  41.284359   \n",
       "3515          113       885   53.465   374.507649        2  32.837023   \n",
       "3927          124      1013   30.310   681.008699        2  34.748391   \n",
       "...           ...       ...      ...          ...      ...        ...   \n",
       "59480        1775      7313   51.318  1731.074411        2  24.733008   \n",
       "59520        1810      7061   19.239  1062.063193        2  14.480825   \n",
       "59560        1822      6755   38.674   279.697006        2  21.264474   \n",
       "59600        1835      7529   19.213  1607.776272        2  30.800569   \n",
       "59640        1873      7677   21.206  1938.794699        2  47.320361   \n",
       "\n",
       "          v_Acc  Lane_ID   x_a  label1        v1        v2         v3  \\\n",
       "1576   1.428727        1 -0.32       0 -2.173945  0.576705  13.369446   \n",
       "2116   1.994377        1  0.48       0  0.393125 -0.457997   6.243165   \n",
       "3299   1.075719        4  0.81       0 -2.765149 -0.414985  11.385759   \n",
       "3515  -0.362300        5 -0.08       0  0.189292  1.682724  -3.204535   \n",
       "3927   1.212965        3 -0.46       0 -0.386196  2.570221   7.742709   \n",
       "...         ...      ...   ...     ...       ...       ...        ...   \n",
       "59480  2.087339        5 -0.21       1 -3.178748  8.212403  -0.792546   \n",
       "59520  2.059809        2  0.06       1  0.061475  2.590724  10.845075   \n",
       "59560  1.636776        4  0.04       1 -4.074251 -0.149365   6.563861   \n",
       "59600  3.584741        2  0.61       1 -1.304213  2.533916  -0.363827   \n",
       "59640 -0.208143        2  1.20       1  0.521533  1.851270  -6.076586   \n",
       "\n",
       "              v4          y1          y2          y3         y4  label  \n",
       "1576   14.998503   49.544298  -63.016810   18.792899 -61.262077    0.0  \n",
       "2116    1.725041  114.780807  -60.722463   51.589339 -68.997029    0.0  \n",
       "3299    5.290739  123.141039  -56.211283   46.105448 -64.265924    0.0  \n",
       "3515   -3.034205   70.683355  -63.403671   57.854103 -13.017518    0.0  \n",
       "3927    0.243439   51.962273  -82.854703    8.132195 -62.827336    0.0  \n",
       "...          ...         ...         ...         ...        ...    ...  \n",
       "59480 -13.991276   57.595742  -63.767370   64.319363 -15.780057    1.0  \n",
       "59520   5.405494   37.747591  -51.489161    0.991348 -73.106673    1.0  \n",
       "59560   1.060056   39.146146  -71.713312   28.133231 -34.078000    1.0  \n",
       "59600  -9.040093   50.963354 -107.633526   88.830597 -19.405130    1.0  \n",
       "59640  -4.341687   48.967164 -104.069010  119.195434 -42.338726    1.0  \n",
       "\n",
       "[376 rows x 19 columns]"
      ]
     },
     "execution_count": 19,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd4=pd3.dropna()\n",
    "pd4"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "696876cc-aab6-4fa5-9845-d9a9b1adba95",
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_35884\\2111790472.py:2: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  pd4.label=pd4.label.astype('object')\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>v_Class</th>\n",
       "      <th>v_Vel</th>\n",
       "      <th>v_Acc</th>\n",
       "      <th>Lane_ID</th>\n",
       "      <th>x_a</th>\n",
       "      <th>label1</th>\n",
       "      <th>v1</th>\n",
       "      <th>v2</th>\n",
       "      <th>v3</th>\n",
       "      <th>v4</th>\n",
       "      <th>y1</th>\n",
       "      <th>y2</th>\n",
       "      <th>y3</th>\n",
       "      <th>y4</th>\n",
       "      <th>label</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>47</td>\n",
       "      <td>748</td>\n",
       "      <td>6.511</td>\n",
       "      <td>853.965710</td>\n",
       "      <td>2</td>\n",
       "      <td>24.003080</td>\n",
       "      <td>1.428727</td>\n",
       "      <td>1</td>\n",
       "      <td>-0.32</td>\n",
       "      <td>0</td>\n",
       "      <td>-2.173945</td>\n",
       "      <td>0.576705</td>\n",
       "      <td>13.369446</td>\n",
       "      <td>14.998503</td>\n",
       "      <td>49.544298</td>\n",
       "      <td>-63.016810</td>\n",
       "      <td>18.792899</td>\n",
       "      <td>-61.262077</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>65</td>\n",
       "      <td>979</td>\n",
       "      <td>5.692</td>\n",
       "      <td>1466.551532</td>\n",
       "      <td>2</td>\n",
       "      <td>49.493619</td>\n",
       "      <td>1.994377</td>\n",
       "      <td>1</td>\n",
       "      <td>0.48</td>\n",
       "      <td>0</td>\n",
       "      <td>0.393125</td>\n",
       "      <td>-0.457997</td>\n",
       "      <td>6.243165</td>\n",
       "      <td>1.725041</td>\n",
       "      <td>114.780807</td>\n",
       "      <td>-60.722463</td>\n",
       "      <td>51.589339</td>\n",
       "      <td>-68.997029</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>107</td>\n",
       "      <td>1081</td>\n",
       "      <td>40.128</td>\n",
       "      <td>1168.540673</td>\n",
       "      <td>2</td>\n",
       "      <td>41.284359</td>\n",
       "      <td>1.075719</td>\n",
       "      <td>4</td>\n",
       "      <td>0.81</td>\n",
       "      <td>0</td>\n",
       "      <td>-2.765149</td>\n",
       "      <td>-0.414985</td>\n",
       "      <td>11.385759</td>\n",
       "      <td>5.290739</td>\n",
       "      <td>123.141039</td>\n",
       "      <td>-56.211283</td>\n",
       "      <td>46.105448</td>\n",
       "      <td>-64.265924</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>113</td>\n",
       "      <td>885</td>\n",
       "      <td>53.465</td>\n",
       "      <td>374.507649</td>\n",
       "      <td>2</td>\n",
       "      <td>32.837023</td>\n",
       "      <td>-0.362300</td>\n",
       "      <td>5</td>\n",
       "      <td>-0.08</td>\n",
       "      <td>0</td>\n",
       "      <td>0.189292</td>\n",
       "      <td>1.682724</td>\n",
       "      <td>-3.204535</td>\n",
       "      <td>-3.034205</td>\n",
       "      <td>70.683355</td>\n",
       "      <td>-63.403671</td>\n",
       "      <td>57.854103</td>\n",
       "      <td>-13.017518</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>124</td>\n",
       "      <td>1013</td>\n",
       "      <td>30.310</td>\n",
       "      <td>681.008699</td>\n",
       "      <td>2</td>\n",
       "      <td>34.748391</td>\n",
       "      <td>1.212965</td>\n",
       "      <td>3</td>\n",
       "      <td>-0.46</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.386196</td>\n",
       "      <td>2.570221</td>\n",
       "      <td>7.742709</td>\n",
       "      <td>0.243439</td>\n",
       "      <td>51.962273</td>\n",
       "      <td>-82.854703</td>\n",
       "      <td>8.132195</td>\n",
       "      <td>-62.827336</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>371</th>\n",
       "      <td>1775</td>\n",
       "      <td>7313</td>\n",
       "      <td>51.318</td>\n",
       "      <td>1731.074411</td>\n",
       "      <td>2</td>\n",
       "      <td>24.733008</td>\n",
       "      <td>2.087339</td>\n",
       "      <td>5</td>\n",
       "      <td>-0.21</td>\n",
       "      <td>1</td>\n",
       "      <td>-3.178748</td>\n",
       "      <td>8.212403</td>\n",
       "      <td>-0.792546</td>\n",
       "      <td>-13.991276</td>\n",
       "      <td>57.595742</td>\n",
       "      <td>-63.767370</td>\n",
       "      <td>64.319363</td>\n",
       "      <td>-15.780057</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>372</th>\n",
       "      <td>1810</td>\n",
       "      <td>7061</td>\n",
       "      <td>19.239</td>\n",
       "      <td>1062.063193</td>\n",
       "      <td>2</td>\n",
       "      <td>14.480825</td>\n",
       "      <td>2.059809</td>\n",
       "      <td>2</td>\n",
       "      <td>0.06</td>\n",
       "      <td>1</td>\n",
       "      <td>0.061475</td>\n",
       "      <td>2.590724</td>\n",
       "      <td>10.845075</td>\n",
       "      <td>5.405494</td>\n",
       "      <td>37.747591</td>\n",
       "      <td>-51.489161</td>\n",
       "      <td>0.991348</td>\n",
       "      <td>-73.106673</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>373</th>\n",
       "      <td>1822</td>\n",
       "      <td>6755</td>\n",
       "      <td>38.674</td>\n",
       "      <td>279.697006</td>\n",
       "      <td>2</td>\n",
       "      <td>21.264474</td>\n",
       "      <td>1.636776</td>\n",
       "      <td>4</td>\n",
       "      <td>0.04</td>\n",
       "      <td>1</td>\n",
       "      <td>-4.074251</td>\n",
       "      <td>-0.149365</td>\n",
       "      <td>6.563861</td>\n",
       "      <td>1.060056</td>\n",
       "      <td>39.146146</td>\n",
       "      <td>-71.713312</td>\n",
       "      <td>28.133231</td>\n",
       "      <td>-34.078000</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>374</th>\n",
       "      <td>1835</td>\n",
       "      <td>7529</td>\n",
       "      <td>19.213</td>\n",
       "      <td>1607.776272</td>\n",
       "      <td>2</td>\n",
       "      <td>30.800569</td>\n",
       "      <td>3.584741</td>\n",
       "      <td>2</td>\n",
       "      <td>0.61</td>\n",
       "      <td>1</td>\n",
       "      <td>-1.304213</td>\n",
       "      <td>2.533916</td>\n",
       "      <td>-0.363827</td>\n",
       "      <td>-9.040093</td>\n",
       "      <td>50.963354</td>\n",
       "      <td>-107.633526</td>\n",
       "      <td>88.830597</td>\n",
       "      <td>-19.405130</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>375</th>\n",
       "      <td>1873</td>\n",
       "      <td>7677</td>\n",
       "      <td>21.206</td>\n",
       "      <td>1938.794699</td>\n",
       "      <td>2</td>\n",
       "      <td>47.320361</td>\n",
       "      <td>-0.208143</td>\n",
       "      <td>2</td>\n",
       "      <td>1.20</td>\n",
       "      <td>1</td>\n",
       "      <td>0.521533</td>\n",
       "      <td>1.851270</td>\n",
       "      <td>-6.076586</td>\n",
       "      <td>-4.341687</td>\n",
       "      <td>48.967164</td>\n",
       "      <td>-104.069010</td>\n",
       "      <td>119.195434</td>\n",
       "      <td>-42.338726</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>376 rows × 19 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "     Vehicle_ID  Frame_ID  Local_X      Local_Y  v_Class      v_Vel     v_Acc  \\\n",
       "0            47       748    6.511   853.965710        2  24.003080  1.428727   \n",
       "1            65       979    5.692  1466.551532        2  49.493619  1.994377   \n",
       "2           107      1081   40.128  1168.540673        2  41.284359  1.075719   \n",
       "3           113       885   53.465   374.507649        2  32.837023 -0.362300   \n",
       "4           124      1013   30.310   681.008699        2  34.748391  1.212965   \n",
       "..          ...       ...      ...          ...      ...        ...       ...   \n",
       "371        1775      7313   51.318  1731.074411        2  24.733008  2.087339   \n",
       "372        1810      7061   19.239  1062.063193        2  14.480825  2.059809   \n",
       "373        1822      6755   38.674   279.697006        2  21.264474  1.636776   \n",
       "374        1835      7529   19.213  1607.776272        2  30.800569  3.584741   \n",
       "375        1873      7677   21.206  1938.794699        2  47.320361 -0.208143   \n",
       "\n",
       "     Lane_ID   x_a  label1        v1        v2         v3         v4  \\\n",
       "0          1 -0.32       0 -2.173945  0.576705  13.369446  14.998503   \n",
       "1          1  0.48       0  0.393125 -0.457997   6.243165   1.725041   \n",
       "2          4  0.81       0 -2.765149 -0.414985  11.385759   5.290739   \n",
       "3          5 -0.08       0  0.189292  1.682724  -3.204535  -3.034205   \n",
       "4          3 -0.46       0 -0.386196  2.570221   7.742709   0.243439   \n",
       "..       ...   ...     ...       ...       ...        ...        ...   \n",
       "371        5 -0.21       1 -3.178748  8.212403  -0.792546 -13.991276   \n",
       "372        2  0.06       1  0.061475  2.590724  10.845075   5.405494   \n",
       "373        4  0.04       1 -4.074251 -0.149365   6.563861   1.060056   \n",
       "374        2  0.61       1 -1.304213  2.533916  -0.363827  -9.040093   \n",
       "375        2  1.20       1  0.521533  1.851270  -6.076586  -4.341687   \n",
       "\n",
       "             y1          y2          y3         y4 label  \n",
       "0     49.544298  -63.016810   18.792899 -61.262077   0.0  \n",
       "1    114.780807  -60.722463   51.589339 -68.997029   0.0  \n",
       "2    123.141039  -56.211283   46.105448 -64.265924   0.0  \n",
       "3     70.683355  -63.403671   57.854103 -13.017518   0.0  \n",
       "4     51.962273  -82.854703    8.132195 -62.827336   0.0  \n",
       "..          ...         ...         ...        ...   ...  \n",
       "371   57.595742  -63.767370   64.319363 -15.780057   1.0  \n",
       "372   37.747591  -51.489161    0.991348 -73.106673   1.0  \n",
       "373   39.146146  -71.713312   28.133231 -34.078000   1.0  \n",
       "374   50.963354 -107.633526   88.830597 -19.405130   1.0  \n",
       "375   48.967164 -104.069010  119.195434 -42.338726   1.0  \n",
       "\n",
       "[376 rows x 19 columns]"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd4=pd3.dropna()\n",
    "pd4.label=pd4.label.astype('object')\n",
    "pd5=pd4.reset_index(drop=True)\n",
    "pd5"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "ed10597e-1615-4b72-886d-f0ba1e46605c",
   "metadata": {},
   "outputs": [],
   "source": [
    "pd5.to_csv(\"./data/result11.csv\",index=0)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "dcc3ef1b-079d-401d-a3ad-b754f7e53394",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "306"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(pd5[pd5['label']==1])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "a44bfd61-034c-4163-aa8e-fbbfa2594246",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
